﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            UDisk  uSB = new UDisk("金世顿");
            uSB.Info();
            uSB.Read();
            uSB.Write();
            Console.WriteLine();
            MoDisk md = new MoDisk("三星500G");
            md.Info();
            md.Read();
            md.Write();
            Console.WriteLine();
            Computer com = new Computer("联想");
            com.Start();
            com.Usb1 = uSB;
            com.Usb2 = md;
            com.ReadData();
            com.WriteData();
            com.End();
        }
    }
}
